﻿using System.Web;
using System.Web.Optimization;

namespace CalligraphyWeb
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));
            
            //release
            bundles.Add(new ScriptBundle("~/home/js").Include("~/Scripts/jquery-{version}.min.js",
                "~/Scripts/jquery-ui-{version}.min.js",
                "~/Scripts/superfish.js",
                "~/Scripts/jquery.flexslider-min.js",
                "~/Scripts/jquery.kwicks-1.5.1.js",
                "~/Scripts/jquery.easing.1.3.js",
                "~/Scripts/jquery.cookie.js",
                "~/Scripts/touchTouch.jquery.js",
                "~/Scripts/jquery.validate.min.js",
                "~/Scripts/jquery.validate.unobtrusive.min.js",
                "~/Scripts/knockout-2.2.0.js",
                "~/Scripts/knockout.mapping-latest.js",
                "~/Scripts/knockout.validation.js",
                "~/Scripts/bootstrap.js"));
            //debug
            bundles.Add(new ScriptBundle("~/home/js/debug").Include("~/Scripts/jquery-{version}.js",
                "~/Scripts/jquery-{version}.intellisense.js",
                "~/Scripts/jquery-ui-{version}.js",
                "~/Scripts/superfish.js",
                "~/Scripts/jquery.flexslider-min.js",
                "~/Scripts/jquery.kwicks-1.5.1.js",
                "~/Scripts/jquery.easing.1.3.js",
                "~/Scripts/jquery.cookie.js",
                "~/Scripts/touchTouch.jquery.js",
                "~/Scripts/jquery.validate.js",
                "~/Scripts/jquery.validate.unobtrusive.js",
                "~/Scripts/knockout-{version}.debug.js",
                "~/Scripts/knockout.mapping-latest.debug.js",
                "~/Scripts/knockout.validation.debug.js",
                "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/home/css").Include("~/Content/themes/bootstrap.css",
                "~/Content/themes/responsive.css",
                
                "~/Content/themes/touchTouch.css",
                "~/Content/themes/kwicks-slider.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));
        }
    }
}